home *** CD-ROM | disk | FTP | other *** search
- Path: castle.nando.net!news
- From: khelmink@nando.net
- Newsgroups: comp.lang.c++,rec.games.programmer
- Subject: Re: Problem linking w/ Watcom 10.5 - please help
- Date: 25 Jan 1996 01:06:46 GMT
- Organization: News & Observer Public Access
- Message-ID: <4e6l36$k3g@castle.nando.net>
- References: <4e6e4l$9f4@morgoth.sfu.ca>
- Reply-To: khelmink@nando.net
- NNTP-Posting-Host: grail909.nando.net
- X-Newsreader: IBM NewsReader/2 v1.2
-
- In <4e6e4l$9f4@morgoth.sfu.ca>, dbullock@news.sfu.ca (David William Bullock) writes:
- >I am having trouble linking with Watcom 10.5. I cannot
- >get wlink to link to the standard library. After linking,
- >I get errors saying that it cannot link functions like sprintf
- >and putc (etc). If anyone has advice, I would greatly apreciate
- >it.
- >
- >David Bullock
- >dbullock@sfu.ca
- >
- Yes, I get similar problems such as this:
-
- cd d:\cstuff
- wmake -f d:\cstuff\rectangle.mk -h -e d:\cstuff\rectangle.exe
- wlink SYS os2v2 op m d all op st=8192 op maxe=25 op q op symf @rectangle.lk1
- Warning(1028): ostream near cout is an undefined reference
- Warning(1028): ostream near & near ostream::operator <<( char const near * ) is an undefined reference
- Warning(1028): istream near cin is an undefined reference
- Warning(1028): istream near & near istream::operator >>( int unsigned near & ) is an undefined reference
- Warning(1028): ostream near & near ostream::operator <<( long unsigned ) is an undefined reference
- Warning(1014): stack segment not found
- Warning(1023): no starting address found, using 0001:00000000
- file week1.obj(D:\cstuff\week1.cpp): undefined symbol ostream near cout
- file week1.obj(D:\cstuff\week1.cpp): undefined symbol ostream near & near ostream::operator <<( char const near * )
- file week1.obj(D:\cstuff\week1.cpp): undefined symbol istream near cin
- file week1.obj(D:\cstuff\week1.cpp): undefined symbol istream near & near istream::operator >>( int unsigned near & )
- file week1.obj(D:\cstuff\week1.cpp): undefined symbol ostream near & near ostream::operator <<( long unsigned )
- Error(E42): Last command making (d:\cstuff\rectangle.exe) returned a bad status
- Error(E02): Make execution terminated
- Execution complete
-
-
- keith
-
- khelmink@nando.net
-
-